meson: gtk: set GTK_PRINT_BACKENDS define properly
authorTim-Philipp Müller <tim@centricular.com>
Wed, 22 Mar 2017 18:15:17 +0000 (18:15 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 14:10:55 +0000 (15:10 +0100)
config.h.meson
gtk/meson.build
modules/printbackends/meson.build

index 0e8b63f6c1f0927dd299462fb4117b6686bfb0d3..65d7e09b088eb29d97f535d4a6e31ca53536ebda 100644 (file)
 #mesondefine GTK_DATADIR
 
 #mesondefine GTK_LIBDIR
+
+#mesondefine GTK_PRINT_BACKENDS
index 85fe62ab01eea2214416cadb7ee90b56c50137a4..55c921a6b525d8ab872de18431cc4c08a92e9335 100644 (file)
@@ -768,7 +768,6 @@ gtk_cargs = [
   '-DGTK_SYSCONFDIR="' + get_option('prefix') + '/etc"',
   '-DGTK_DATADIR="' + get_option('datadir') + '"',
   '-DGTK_DATA_PREFIX="'+ get_option('prefix') + '"',
-  '-DGTK_PRINT_BACKENDS="null"', # FIXME
 ]
 
 gtk_sources += [
index 80c94698c5aaf50b2f670860d8bf87a8c8b67250..c9f970675fa729bf424ee213cc358f0eb44a7715 100644 (file)
@@ -111,6 +111,8 @@ printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdi
 
 message('Print backends: ' + ' '.join(print_backends))
 
+cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends))
+
 foreach print_backend : print_backends
   subdir(print_backend)
 endforeach